package com.sfh.appversion.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sfh.appversion.base.BaseDO;
import lombok.*;

/***
 * 用户(数据库实体)
 */
@Data
@TableName("sys_user")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class UserDO extends BaseDO {

    //用户ID
    @TableId(type = IdType.ASSIGN_ID)
    private String userId;
    //用户名
    private String userName;
    //密码
    private String userPassword;
    //类型
    private String userType;
}
